package cn.hl.hm.vo;

import cn.hl.hm.entity.Driver;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @description: 司机详细信息
 * @Author: xianghan
 * @Date: 2017/10/26 10:55
 **/
public class DriverDetailVo extends DriverInfoVo {
    /**
     * 性别
     **/
    private String sex;
    /**
     * 车辆数量
     **/
    private Integer vehiclleCount;
    /**
     * 待审核车辆数
     */
    private Integer vehicleCheckingCount;
    /**
     * 创建时间
     **/
    private Date createTime;
    /**
     * 来源
     **/
    private String platformId;
    /**
     * 是否收保全金
     **/
    private String isSecurity;
    /**
     * 保全金金额
     **/
    private BigDecimal securityFee;

    public String getChargeSetting() {
        return chargeSetting;
    }

    public void setChargeSetting(String chargeSetting) {
        this.chargeSetting = chargeSetting;
    }

    /** 保全金说明**/
    private String chargeSetting;
    private Integer FreeDay;

    private String idCard;
    private String idCardFrontPic;
    private String driverLicense;
    private String driverLicensePic;
    private String phone;
    /**
     * 审核失败原因
     **/
    private String driverUnpassReason;
    private String qualificationCertificatePic;
    private Integer noloadFree;
    private List<VehicleVo> vehicleList;

    public Integer getFreeDay() {
        return FreeDay;
    }

    public void setFreeDay(Integer freeDay) {
        FreeDay = freeDay;
    }

    public Integer getNoloadFree() {
        return noloadFree;
    }

    public void setNoloadFree(Integer noloadFree) {
        this.noloadFree = noloadFree;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCardFrontPic() {
        return idCardFrontPic;
    }

    public void setIdCardFrontPic(String idCardFrontPic) {
        this.idCardFrontPic = idCardFrontPic;
    }

    public String getDriverLicense() {
        return driverLicense;
    }

    public void setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
    }

    public String getDriverLicensePic() {
        return driverLicensePic;
    }

    public void setDriverLicensePic(String driverLicensePic) {
        this.driverLicensePic = driverLicensePic;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<VehicleVo> getVehicleList() {
        return vehicleList;
    }

    public void setVehicleList(List<VehicleVo> vehicleList) {
        this.vehicleList = vehicleList;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getVehiclleCount() {
        return vehiclleCount;
    }

    public void setVehiclleCount(Integer vehiclleCount) {
        this.vehiclleCount = vehiclleCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getIsSecurity() {
        return isSecurity;
    }

    public void setIsSecurity(String isSecurity) {
        this.isSecurity = isSecurity;
    }

    public BigDecimal getSecurityFee() {
        return securityFee;
    }

    public void setSecurityFee(BigDecimal securityFee) {
        this.securityFee = securityFee;
    }

    public String getDriverUnpassReason() {
        return driverUnpassReason;
    }

    public void setDriverUnpassReason(String driverUnpassReason) {
        this.driverUnpassReason = driverUnpassReason;
    }

    public Integer getVehicleCheckingCount() {
        return vehicleCheckingCount;
    }

    public void setVehicleCheckingCount(Integer vehicleCheckingCount) {
        this.vehicleCheckingCount = vehicleCheckingCount;
    }

    public String getQualificationCertificatePic() {
        return qualificationCertificatePic;
    }

    public void setQualificationCertificatePic(String qualificationCertificatePic) {
        this.qualificationCertificatePic = qualificationCertificatePic;
    }

    public DriverDetailVo(Driver driver) {
        super(driver);
        this.sex = driver.getSex();
        this.createTime = driver.getCreateTime();
        this.driverLicense = driver.getDriverLicense();
        this.driverLicensePic = driver.getDriverLicensePic();
        this.platformId = driver.getPlatformId();
        this.securityFee = driver.getSecurityFee();
        this.idCard = driver.getIdCard();
        this.idCardFrontPic = driver.getIdCardFrontPic();
        this.driverUnpassReason = driver.getDriverUnpassReason();
        this.isSecurity = driver.getIsSecurity();
        this.chargeSetting=driver.getChargeSetting();
        this.FreeDay=driver.getFreeDay();
        this.qualificationCertificatePic=driver.getQualificationCertificatePic();
        this.noloadFree=driver.getNoloadFree();
    }
}
